package edu.zut.cs.network.merhandise.goods.dao;

import java.sql.SQLException;

import edu.zut.cs.network.merhandise.goods.entity.Merhandise;

public interface MerhandiseDao {
	void create(Merhandise merhandise);//增
	int remove(Merhandise merhandise);//删
	void update(Merhandise merhandise) throws SQLException;//改
	Merhandise findByName(String name);//通过姓名查
	Merhandise findById(Long id);//通过Id查
}
